/******************************************************************
*
*    CyberUPnP for Java
*
*    Copyright (C) Satoshi Konno 2002-2003
*
*    File:StateVariableData.java
*
*    Revision;
*
*    02/05/03
*        - first revision.
*    01/06/04
*        - Added setQueryListener() and getQueryListener().
*
******************************************************************/

package com.fiberhome.remoteime.cybergarage.unnp.xml;

import com.fiberhome.remoteime.cybergarage.unnp.control.QueryListener;
import com.fiberhome.remoteime.cybergarage.unnp.control.QueryResponse;

public class StateVariableData extends NodeData
{
    public StateVariableData()
    {
    }

    ////////////////////////////////////////////////
    // value
    ////////////////////////////////////////////////

    private String value = "";

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    ////////////////////////////////////////////////
    // QueryListener
    ////////////////////////////////////////////////

    private QueryListener queryListener = null;

    public QueryListener getQueryListener() {
        return queryListener;
    }

    public void setQueryListener(QueryListener queryListener) {
        this.queryListener = queryListener;
    }

    ////////////////////////////////////////////////
    // QueryResponse
    ////////////////////////////////////////////////

    private QueryResponse queryRes = null;

    public QueryResponse getQueryResponse()
    {
        return queryRes;
    }

    public void setQueryResponse(QueryResponse res)
    {
        queryRes = res;
    }

}
